package com.whitlock.backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Whitlock
 * @date 2020/7/14   2:18 下午
 */
@Data
@TableName("tk_user_role")
public class TKUserRole {

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id", name = "id",hidden = true)
    private String id;

    @ApiModelProperty(value = "user_id", name = "用户id")
    private String user_id;

    @ApiModelProperty(value = "role_id", name = "角色id")
    private String role_id;


}
